// const DOMAIN = "http://106.52.174.198:8084";
const DOMAIN = "https://www.caibi.cc";
module.exports = {
    /*
    * 域名
    * */
    domain: DOMAIN,

    /*
    * 用户类型
    * */
    userType: {
        enterprise: 6, //企业用户
        personnel: 7, //职员
        student: 8 //学生
    },

   /*
    * 错误类型配置
    * */
    errorType: {
        storage: "Storage",  //缓存接口
        wx: "Wx" //微信接口
    },

    /*
    * 缓存配置
    * 建议所有缓存都在这里配置 以防止重名
    * */
    storage: {
        openId: "openId", //小程序用户标识
        token: "token", //请求令牌
        loginExpiredPage: "loginExpiredPage", //登录过期时的页面
        invitationInfo: "invitationInfo", //企业邀请信息
        regions: "regions", //区域信息
        userInfo: "userInfo", //用户信息
        registerInfo: "registerInfo", //注册会员信息
        agreement: "agreement", //协议
        richText: "richText", //富文本
        switchSchool: "switchSchool", //学校切换
        officialAccount: "officialAccount" //是否提示关注公众号
    },

    /*
    * 跨页面消息通知 A - C
    * */
    notification: {
        deleteRecruitment: "deleteRecruitment", //删除招聘信息通知
    },

    /*
    * 地图api配置
    * */
    mapKey: "775BZ-JBJWU-UK4V2-4ULVW-M3R3Q-SMBUV",

    /*
    * 模板消息ids
    * */
    templateId: {
        "qysq": "IJNQwvUi_E1FdvTRdXgY6WdJx6YtFuFAhO7yrTaO_5Y" //企业申请提醒
    },

    /*
    * 服务接口配置
    * 如果分包居多 也可以将服务接口配置放置各个分包内
    * */
    api: {
        /*共用 字典*/
        dict: DOMAIN + "/dict/listDictsByCode", //字典  企业性质：QYXZ, 企业规模：QYGM, 学历: XL
        systemConfig: DOMAIN + "/sysConfig/list2", //系统配置
        aboutUs: DOMAIN + "/api/aboutUs/get_about_us", //关于我们
        feedback: DOMAIN + "/api/abnormal_back/addItem", //意见反馈

        /*共用 用户*/
        openId: DOMAIN + "/api/customer/wx_openId", //微信登录接口登录
        userInfo: DOMAIN + "/api/customer/user_openId", //获取用户信息
        login: DOMAIN + "/api/customer/login", //登录
        register: DOMAIN + "/api/customer/register", //注册
        wxRegister: DOMAIN + "/api/customer/wx_register", //微信快捷注册
        logout: DOMAIN + "/api/customer/logout", //退出登录
        sms: DOMAIN + "/api/customer/send_yzm", //验证码
        editPhone: DOMAIN + "/api/customer/set_phone", //修改电话

        /*文件管理*/
        upload: DOMAIN + "/api/oss/upload_file", //上传
        downLoad: DOMAIN + "/api/oss/download_file", //下载文件
        delete: DOMAIN + "/api/oss/delete_file", //删除文件
        downLoadByte: DOMAIN + "/api/fastdfs/download_byte", //下载

        /*邮箱*/
        emailEdit: DOMAIN + "/api/email/editItem", //邮箱编辑
        emailBind: DOMAIN + "/api/email/get_email", //邮箱信息
        emailAdd: DOMAIN + "/api/email/addItem", //邮箱添加

        /*学校相关*/
        collegeList: DOMAIN + "/api/college/list", //学校列表
        collegeMajorList: DOMAIN + "/api/college_professional/list", //学校专业列表
        collegeMajorNoPageList: DOMAIN + "/api/college_professional/list_professional", //无分页接口

        /*受教育信息*/
        educationList: DOMAIN + "/api/education/list_education", //受教育列表
        educationAdd: DOMAIN + "/api/education/addItem", //添加教育信息
        educationEdit: DOMAIN + "/api/education/editItem", //编辑
        educationDel: DOMAIN + "/api/education/delete", //删除
        educationProfessionList: DOMAIN + "/api/education/list_profession", //学长专业列表

        /*分类信息*/
        classIndustryList: DOMAIN + "/api/industry/list", //行业选择
        classPositionList: DOMAIN + "/api/industry_position/list", //职位

        /*企业用户*/
        enterpriseCreate: DOMAIN + "/api/customer_company/addItem", //创建
        enterpriseDetail: DOMAIN + "/api/customer_company/get_company", //企业详情
        enterpriseEdit: DOMAIN + "/api/customer_company/editItem", //编辑
        enterpriseSearch: DOMAIN + "/api/customer_company/list", //查询企业接口
        enterpriseDelPersonnel: DOMAIN + "/api/customer_staff/delete_staff_company", //删除员工

        /*员工用户*/
        personnelCreate: DOMAIN + "/api/customer_staff/addItem", //创建
        personnelEdit: DOMAIN + "/api/customer_staff/editItem", //编辑
        personnelDetail: DOMAIN + "/api/customer_staff/get_staff_user", //员工详情
        personnelAlumniList: DOMAIN + "/api/customer_staff/alumni_staff_list", //员工列表 分页  --学生学长列表
        personnelEnterpriseList: DOMAIN + "/api/customer_staff/list", //员工列表 分页  -- 企业员工管理
        personnelCompanyList: DOMAIN + "/api/customer_staff/company_alumni", //获取学长所在公司
        personnelEnterpriseEdit: DOMAIN + "/api/customer_staff/editItem", //权限管理  -- 企业员工权限管理
        personnelSeniorDetail: DOMAIN + "/api/customer_staff/staff_detail", //学长详情


        /*学生用户*/
        studentCreate: DOMAIN + "/api/customer_students/addItem", //创建
        studentDetail: DOMAIN + "/api/customer_students/get_student_user", //获取注册详情
        studentEdit: DOMAIN + "/api/customer_students/editItem", //编辑
        studentAlumniList: DOMAIN + "/api/customer_students/alumni_student_list", //校友列表
        studentGrades: DOMAIN + "/api/customer_students/list_grade", //年级
        studentBanner: DOMAIN + "/cbAdvertisement/list_advertisement", //获取banner
        studentResumeList: DOMAIN + "/api/resume/list", //简历列表
        studentResumeAdd: DOMAIN + "/api/resume/addItem", //添加简历
        studentResumeDel: DOMAIN + "/api/resume/delete", //删除简历

        //求职意向
        jobIntentionAdd: DOMAIN + "/api/objective/addItem", //添加
        jobIntentionEdit: DOMAIN + "/api/objective/editItem", //编辑
        jobIntentionList: DOMAIN + "/api/objective/list_objective", //求职

        // 招聘信息
        positionPublisher: DOMAIN + "/api/position/list_user", //发布人
        positionAdd: DOMAIN + "/api/position/addItem", //发布人
        positionList: DOMAIN + "/api/position/list2", //招聘职位列表
        positionDetail: DOMAIN + "/api/position/position_detail", //招聘详情
        positionDeliverList: DOMAIN + "/cbResumeDelivery/deliver_list", //投递列表
        positionDelete: DOMAIN + "/api/position/delete", //删除招聘数据
        positionEdit: DOMAIN + "/api/position/editItem", //编辑
        positionDeliver: DOMAIN + "/cbResumeDelivery/addItem", //投递招聘
        positionPublishList: DOMAIN + "/api/position/list_position_staff", //发布简历的职位列表

        // 收藏交互
        collectionAdd: DOMAIN + "/cbFocusCollection/addItem", //关注
        collectionDel: DOMAIN + "/cbFocusCollection/delete", //取消关注
        collectStudentFocusList: DOMAIN + "/cbFocusCollection/getFousList", //获取关注列
        collectStudentFansList: DOMAIN + "/cbFocusCollection/getFansList", //获取粉丝列表
        collectStudentList: DOMAIN + "/cbFocusCollection/getCollectionPositionList", //学生获取收藏列表
        collectPersonnelFocusList: DOMAIN + "/cbFocusCollection/getStaffFocusList", //获取关注列
        collectPersonnelFansList: DOMAIN + "/cbFocusCollection/getStaffFansList", //获取关注列


        //消息
        messageTipsCount: DOMAIN + "/cbMessages/get_count_type", //获取消息提示数量
        messageAdd: DOMAIN + "/cbMessages/addItem", //创建消息
        messageInvitation: DOMAIN + "/cbMessages/invitation", //邀请投递
        messageEnterpriseResumeList: DOMAIN + "/cbMessages/getResumeMessageList", //企业消息 -- 获取简历消息
        messageEnterpriseOtherList: DOMAIN + "/cbMessages/getOtherMessageList", //企业消息  -- 员工消息
        messageEnterpriseHandle: DOMAIN + "/cbMessages/handleEmployeeApplication", //企业  处理员工申请
        messagePersonnelResumeList: DOMAIN + "/cbMessages/getStaffResumeMessageList", //员工消息 -- 获取员工投递消息
        messagePersonnelOtherList: DOMAIN + "/cbMessages/getStaffOtherMessageList", //员工消息  -- 其它消息
        messagePersonnelHandleContact: DOMAIN + "/cbMessages/handleSwapInformation", //处理  申请交互联系方式
        messageSetReadStatus: DOMAIN + "/cbMessages/editItem", //标记是否已读状态
        messageStudentSeniorList: DOMAIN + "/cbMessages/getInvitationMessageList", // 获取校友消息
        messageStudentOtherList: DOMAIN + "/cbMessages/getStudentOtherMessageList", //其它消息
        messageSystemList: DOMAIN + "/cbMessages/getStaffSysMessageList", //系统消息
        messageTemplate: DOMAIN + "/cbMessages/sendTemplat"  //公众号消息

    }
}